import React from 'react';
import { View, Text, TouchableOpacity, Touchable,Image} from 'react-native';
import moment from 'moment'
import navigationhelper from 'src/components/navigationhelper'
import {CalendarList, LocaleConfig} from 'react-native-calendars';
import NavBar from 'src/components/navBar'
import Layer from 'src/components/Layer'
import {isIPhoneX,deviceWidth} from 'src/util'
import ScrollableTabView from 'react-native-scrollable-tab-view'




export default class receiveMoneyCell extends React.Component {

    constructor(props) {
      super(props);

    }

    render(){
        const {itemData,typeCard} = this.props
        return(
        <View style={{backgroundColor:'#fff',paddingVertical:10,paddingHorizontal:20,flexDirection:'row',justifyContent:'space-between',alignItems: 'center',}}>

        <View style={{alignItems: 'center',justifyContent:'center',flexDirection:'row'}}>
          <Image style={{width:30,height:30}} source={require('src/assets/mine/fenrunIcon.png')}>
          </Image>
        <View style={{marginLeft: 10,backgroundColor:'#fff',flexDirection:'column'}}>
        <Text style={{color:'#2E2E2E',fontSize:16,fontWeight:'bold'}}>{'分润'}</Text>
        <Text style={{color:'#8E8E93',fontSize:12,marginTop:10}}>{itemData.update_time}</Text>
        </View>
        </View>

        <View>
        <Text style={{fontSize:16}}>{'+'+itemData.income}</Text>
        </View>


        </View>
        ) 
    }
 }